<!--暂无数据-->
<template>
  <div v-if="isNoData" class="text-center no-data pdv-10">
    <p class="pdv-10"></p>
    <img src="../../../static/images/dangjian/home/water-logo-comment.png" alt="">
    <p>{{ content }}</p>
  </div>
</template>

<script>
  export default {
    name: '',
    props: ['id', 'data', 'loading','content'],
    data () {
      return {
      }
    },
    created () {
    },
    computed: {
      isNoData () {
        if (this.loading) {
          return false
        }
        if (!this.data || this.data.length === 0) {
          return true
        }
        return true
      }
    },
    methods: {
    }
  }
</script>

<style scoped lang="scss">
  p{
    font-size: 16PX;
  }
</style>
